package com.sumainfor.pc.gmio.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * @Author PuaChen
 * @Create 2019-03-07 10:08
 */
public interface QueryHousingMapper {

    /**
     * 查询疑问房源列表数据
     *
     * @param state
     * @return
     */
    IPage<Map<String, Object>> selectTableList(Page page, @Param("state") Integer state);

    /**
     * 设置通知
     *
     * @param douId
     * @return
     */
    int updateNotificationStateus(String douId);

}
